#include<stdio.h>

int main(int argc, char const *argv[])
{
    int m = 0x12345678;

    char *p = (char *)&m;

    if(0x78 == *p){
        printf("host\n");
    }else if(0x12 == *p){
        printf("net\n");
    }
    return 0;
}
